package com.example.service;

import com.example.controller.request.LinkGroupAddRequest;
import com.example.controller.request.LinkGroupUpdateRequest;
import com.example.model.LinkGroupDO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.utils.JsonData;
import com.example.vo.LinkGroupVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yinxin
 * @since 2022-06-08
 */
public interface LinkGroupService extends IService<LinkGroupDO> {

    int add(LinkGroupAddRequest addRequest);

    int del(Long groupId);

    LinkGroupVO detail(Long groupId);

    List<LinkGroupVO> listAllGroup();

    int updateGroupById(LinkGroupUpdateRequest updateRequest);
}
